﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities
{
     [Serializable]
    public class KhachHangTraLaiBanBuon
    {
        private string hanhDong;
        private int khachHangTraLaiBanBuonID;
        private string maKhachHangTraLaiBanBuon;
        private DateTime ngayNhap;
        private string maKhachHang;
        private string tenKhachHang;
        private string duNo;
        private string nguoiTra;
        private string maTienTe;
        private string tyGiaTienTe;
        private string tienBoiThuong;
        private string thanhToanNgay;
        private string thanhToanSauKhiLapPhieu;
        private string thue;
        private string maKho;
        private string tenKho;
        private string maNhanVien;
        private string tenNhanVien;
        private string ghiChu;
        private Boolean deleted;
        private Entities.ChiTietKhachHangTraLaiBanBuon[] danhSach;
        private string duNoUpdate;
        private Entities.TaiKhoan taiKhoan;

        public Entities.TaiKhoan TaiKhoan
        {
            get { return taiKhoan; }
            set { taiKhoan = value; }
        }
        public KhachHangTraLaiBanBuon(){ }
        public KhachHangTraLaiBanBuon(string hanhDong, int khachHangTraLaiBanBuonID, string maKhachHangTraLaiBanBuon, DateTime ngayNhap, string maKhachHang, string tenKhachHang, string nguoiTra, string maTienTe, string tyGiaTienTe, string tienBoiThuong, string thanhToanNgay, string thanhToanSauKhiLapPhieu, string thue, string maKho, string tenKho, string maNhanVien, string tenNhanVien, string ghiChu, Boolean deleted, Entities.ChiTietKhachHangTraLaiBanBuon[] danhSach, string duNoUpdate)
        {
            this.hanhDong = hanhDong;
            this.khachHangTraLaiBanBuonID = khachHangTraLaiBanBuonID;
            this.maKhachHangTraLaiBanBuon = maKhachHangTraLaiBanBuon;
            this.ngayNhap = ngayNhap;
            this.maKhachHang = maKhachHang;
            this.tenKhachHang = tenKhachHang;
            this.nguoiTra = nguoiTra;
            this.maTienTe = maTienTe;
            this.tyGiaTienTe = tyGiaTienTe;
            this.tienBoiThuong = tienBoiThuong;
            this.thanhToanNgay = thanhToanNgay;
            this.thanhToanSauKhiLapPhieu = thanhToanSauKhiLapPhieu;
            this.thue = thue;
            this.maKho = maKho;
            this.tenKho = tenKho;
            this.maNhanVien = maNhanVien;
            this.tenNhanVien = tenNhanVien;
            this.ghiChu = ghiChu;
            this.deleted = deleted;
            this.danhSach = danhSach;
            this.duNoUpdate = duNoUpdate;
        }
        public string HanhDong
        {
            get { return hanhDong; }
            set { hanhDong = value; }
        }
        public int KhachHangTraLaiBanBuonID
        {
            get { return this.khachHangTraLaiBanBuonID; }
            set {this.khachHangTraLaiBanBuonID = value;}
        }
        public string MaKhachHangTraLaiBanBuon
        {
            get { return this.maKhachHangTraLaiBanBuon; }
            set { this.maKhachHangTraLaiBanBuon = value; }
        }
        public DateTime NgayNhap
        {
            get { return this.ngayNhap; }
            set { this.ngayNhap = value; }
        }
        public string MaKhachHang
        {
            get { return this.maKhachHang; }
            set { this.maKhachHang = value; }
        }
        public string TenKhachHang
        {
            get { return tenKhachHang; }
            set { tenKhachHang = value; }
        }
        public string DuNo
        {
            get { return duNo; }
            set { duNo = value; }
        }
        public string NguoiTra
        {
            get { return this.nguoiTra; }
            set { this.nguoiTra = value; }
        }
        public string MaTienTe
        {
            get { return this.maTienTe; }
            set { this.maTienTe = value; }
        }
        public string TyGiaTienTe
        {
            get { return this.tyGiaTienTe; }
            set { this.tyGiaTienTe = value; }
        }
        public string TienBoiThuong
        {
            get { return this.tienBoiThuong; }
            set { this.tienBoiThuong = value; }
        }
        public string ThanhToanNgay
        {
            get { return this.thanhToanNgay; }
            set { this.thanhToanNgay = value; }
        }
        public string ThanhToanSauKhiLapPhieu
        {
            get { return this.thanhToanSauKhiLapPhieu; }
            set { this.thanhToanSauKhiLapPhieu = value; }
        }
        public string Thue
        {
            get { return this.thue; }
            set { this.thue = value; }
        }
        public string MaKho
        {
            get { return this.maKho; }
            set { this.maKho = value; }
        }
        public string TenKho
        {
            get { return this.tenKho; }
            set { this.tenKho = value; }
        }
        public string MaNhanVien
        {
            get { return this.maNhanVien; }
            set { this.maNhanVien = value; }
        }
        public string TenNhanVien
        {
            get { return this.tenNhanVien; }
            set { this.tenNhanVien = value; }
        }
        public string GhiChu
        {
            get { return this.ghiChu; }
            set { this.ghiChu = value; }
        }
        public Boolean Deleted
        {
            get { return this.deleted; }
            set { this.deleted = value; }
        }
        public Entities.ChiTietKhachHangTraLaiBanBuon[] DanhSach
        {
            get { return danhSach; }
            set { danhSach = value; }
        }
        public string DuNoUpdate
        {
            get { return duNoUpdate; }
            set { duNoUpdate = value; }
        }
    }
}
